<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js">
</script>
<script>
$(document).ready(function(){
	
	
	$("#bt1").click(function btn_click(){
		console.log("click success");
		$.ajax({
			type:"get",
			url:"http://116.10.187.227:18099/T3/ordersManage/getOrdersInfo",
			headers: {
				Authorization: "NDI1MzE0Nzc1XzE1NDE0MDg4MDY4NjhfYzhjYWFkZTY2NGVkNGU3MGFmMGIxYTkwYWNmYTkxMDk=" // 默认值
			},
			//data:{"stuid":id},
			dataFilter: function (data,type){
				console.log("dataFilter");
				console.log(data);
				console.log(type);
			},
			success:function(data) {//Customer对象josn数据
				console.log('success');
				console.log(data);
			},
			error : function(data){
				console.log('error');
			}	
		});
	});
});
</script>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

<div id="div1"><h2>11</h2></div>
<button id="bt1">button1</button>

</body>
</html>